const getTokenModule = {
	namespaced: true,
	// strict: true,
	state: {
		token:
			window.localStorage.getItem(
				'token'
			) || 'allen'
	},
    getters: {},
	mutations: {
        updateGetToken (state, payload) {
            window.localStorage.setItem(
                'token',
                payload.token
            );
			state.token = payload.token;
		}
	},
    actions: {}
};

export default getTokenModule;
